package com.ccm.demo.springbootsecurity.dao;

import com.ccm.demo.springbootsecurity.entity.SysUser;

import java.util.List;

/**
 * Created by com.ccm.demo.springbootsecurity.MybatisCodeGenerate on 2018-05-03
 */
public interface SysUserMapper {
    int deleteByPrimaryKey(Integer sysId);

    void insert(SysUser record);

    void insertSelective(SysUser record);

    void insertBatch(List<SysUser> records);

    SysUser selectByPrimaryKey(Integer sysId);

    int updateByPrimaryKeySelective(SysUser record);

    int updateByPrimaryKey(SysUser record);

	SysUser selectByUsername(String username);
}